<template>
  <div>
    <div>我是A页面</div>
    <el-input v-model="inputA" placeholder="Please input" /><br />
    <div @click="toB">跳转B</div>
    <div @click="toC">跳转C</div>
  </div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
import { useRouter } from "vue-router";
const router = useRouter();
const inputA = ref('')
const toB = () =>{
  router.push("/bb");
}
const toC = () =>{
  router.push("/cc");
}
</script>

<style scoped>

</style>
